Theme Size Box Direction Constants
The
ThemeGrowDirection
enumeration defines masks your application can use to specify the directions in which a window may be resized. You may use constants of type
ThemeGrowDirection
with the function
DrawThemeStandaloneGrowBox
to draw a size box and with the function
GetThemeStandaloneGrowBoxBounds
to obtain the bounding rectangle of a size box. The constants may be combined to set more than one direction of growth. The
ThemeGrowDirection
constants are available with Appearance Manager 1.1 and later.
enum {
kThemeGrowLeft = (1 << 0),
kThemeGrowRight = (1 << 1),
kThemeGrowUp = (1 << 2),
kThemeGrowDown = (1 << 3)
};
typedef UInt16 ThemeGrowDirection;
Constant descriptions
-
kThemeGrowLeft
-
If the bit specified by this mask is set, the object can grow to the left.
-
kThemeGrowRight
-
If the bit specified by this mask is set, the object can grow to the right.
-
kThemeGrowUp
-
If the bit specified by this mask is set, the object can grow upward. Note: This functionality is not available with Appearance Manager 1.1 or prior versions of Appearance.
-
kThemeGrowDown
-
If the bit specified by this mask is set, the object can grow downward.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)